<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>浮动</title>
</head>

	<style type="text/css">
		
		.div-box1{
			width: 100px;
			height: 100px;
			background: silver;
			border: 1px solid blue;
			float: left;
		}

		.div-box2{
			width: 100px;
			height: 130px;
			background: pink;
			border: 1px solid red;
			float: left;
		}

		.div1{
			
		}

	</style>

<body>
	<div class="div1">
		<div class="div-box1">div</div>
		<div class="div-box2">div</div>
		<div class="div-box3">div</div>
	</div>
</body>
</html>
